package com.example.myfirstgame.controller;

import java.util.ArrayList;

import com.example.myfirstgame.model.Car;
import com.example.myfirstgame.model.ParkingLot;
import com.example.myfirstgame.model.ParkingLots;
import com.example.myfirstgame.model.TrafficLight;
import com.example.myfirstgame.model.Tree;

public class ControllerConstants {

	protected static String[] mAllGameObjectTypes = { ParkingLot.TYPE_DEFINITION,
			ParkingLots.TYPE_DEFINITION, Car.TYPE_DEFINITION,
			Tree.TYPE_DEFINITION, TrafficLight.TYPE_DEFINITION[0],
			TrafficLight.TYPE_DEFINITION[1], TrafficLight.TYPE_DEFINITION[2] };

	protected static ArrayList<String> deliverGameObjectTypeDrawingOrder() {

		ArrayList<String> lGameObjectDrawingTypOrderArray = new ArrayList<String>();

		// TODO possible to implement a special field with drawing priority in
		// the GameObject
		// Implementors. This could be evaluated in the following section

		for (String lGameObjectType : mAllGameObjectTypes) {
			lGameObjectDrawingTypOrderArray.add(lGameObjectType);
		}

		return lGameObjectDrawingTypOrderArray;
	}

}
